
function randomColor () {
    return '#' + Math.random().toString(16).substr(2, 6).toUpperCase();
}

export let top = [{
    label: "首页",
    path: "/wel/index",
    icon: 'el-icon-document',
    meta: {
        i18n: 'dashboard',
    },
    parentId: 0
}]
const first = [{
    label: "印章管理",
    path: '/seal',
    icon: 'icon-caidan',
    iconBgColor: randomColor(),
    children:[{
        label: "我的印章",
        path: 'seal-con',
        component: 'views/Seal/SealController',
        icon: 'icon-caidan',
        iconBgColor: randomColor(),
        children: []
    },{
        label: "个人印章生成",
        path: 'private-seal-generate',
        component: 'views/Seal/PrivateSealGenerate',
        icon: 'icon-caidan',
        iconBgColor: randomColor(),
        children: []
    },{
        label: "企业印章生成",
        path: 'public-seal-generate',
        component: 'views/Seal/PublicSealGenerate',
        icon: 'icon-caidan',
        iconBgColor: randomColor(),
        children: []
    }]
},{
    label: "签署管理",
    path: '/sign-con',
    icon: 'icon-caidan',
    iconBgColor: randomColor(),
    component: 'views/Sign/SignCon/SignCon',
    //children:[
    //   {
    //     label: "文件签署",
    //     path: 'seal-anti',
    //     component: 'views/Sign/SealUse',
    //     icon: 'icon-caidan',
    //     iconBgColor: randomColor(),
    //     children: []
    // },
        /* {
        label: "pdf预览",
        path: 'seal-pdf',
        component: 'views/Sign/PdfView',
        icon: 'icon-caidan',
        iconBgColor: randomColor(),
        children: []
    },{
        label: "文件签署",
        path: 'seal-con',
        component: 'views/Sign/SignController',
        icon: 'icon-caidan',
        iconBgColor: randomColor(),
        children: []
    } */
    //]
},{
    label: "防伪管理",
    path: '/verify',
    icon: 'icon-caidan',
    iconBgColor: randomColor(),
    children: [
        {
            label: "印章防伪检验",
            path: 'seal-verify',
            component: 'views/Verification/SealVerify',
            icon: 'icon-caidan',
            iconBgColor: randomColor(),
            children: []
        }, {
            label: "文件防伪校验",
            path: 'pdf-verify',
            component: 'views/Verification/PdfVerify',
            icon: 'icon-caidan',
            iconBgColor: randomColor(),
            children: []
        }
    ]
},{
    label: "存证管理",
    path: '/evidence',
    icon: 'icon-caidan',
    iconBgColor: randomColor(),
    component: 'views/Evidence/EvidenceController',
}]

export let userMenu = [first];

/* ,{
    label: "异常页",
      path: '/error',
      meta: {
        i18n: 'error',
    },
    icon: 'icon-caidan',
      iconBgColor: randomColor(),
      children: [{
        label: "error403",
        path: 'error',
        component: 'components/error-page/403',
        icon: 'icon-caidan',
        iconBgColor: randomColor(),
        children: []
    }, {
        label: "error404",
        path: '404',
        component: 'components/error-page/404',
        icon: 'icon-caidan',
        iconBgColor: randomColor(),
        children: []
    }, {
        label: "error500",
        path: '500',
        component: 'components/error-page/500',
        icon: 'icon-caidan',
        iconBgColor: randomColor(),
        children: []
    }]
}, {
    label: "关于",
      path: '/about',
      component: 'views/util/about',
      icon: 'icon-caidan',
      iconBgColor: randomColor(),
      meta: {
        i18n: 'about',
    },
    children: []
} */

